package com.zmm.member.submit.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 用户注册
 * @author 900045
 * @description:
 * @name RegistryVo
 * @date By 2021-08-05 16:57:45
 */
@Data
public class RegistryVo {

	/**
	 * 手机号 -- 用户名
	 */
	@Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$",message = "手机号格式有误")
	@NotBlank(message = "手机号必填")
	private String phone;

	/**
	 * 密码
	 */
	private String password;


	/**
	 * 验证码
	 */
	private String verifyCode;

	/**
	 * 类型
	 */
	private String type;

	/**
	 * 邀请码
	 */
	private String invitationCode;

	/**
	 * 请求地址
	 */
	private String ip;
	
}
